#ifndef TEST2_H
#define TEST2_H

#include <QObject>

class Test2 : public QObject
{
    Q_OBJECT
public:
    explicit Test2(int x, QObject *parent = nullptr);
    ~Test2();

signals:

//    void sig_Test2(int);

public slots:

    void slot_test2(int i);  //槽函数是需要定义的！
                             //给Test2增加处理槽函数
};

#endif // TEST2_H
